package director;

import creational.singleton.InnerClassSingleton;
import creational.singleton.SingletonEnum;

public class SingletonDirector {

    public static void main(String[] args) {
        SingletonEnum.INSTANCE.doSomething();
        System.out.println(SingletonEnum.INSTANCE == SingletonEnum.INSTANCE);
        System.out.println(InnerClassSingleton.getInstance() == InnerClassSingleton.getInstance());
    }
}
